import pandas as pd

df6 = pd.read_csv("m2.csv",names=['apple','huawei','oppo'])

df7 = pd.read_csv("m2.csv",header=None)

df7.columns = ['apple','huawei','oppo']
df7.index = ['一月','二月','三月']

print(df6)
print(df7)
print(df7.columns)
print(df7.index)